KaizenCoders\URL_Shortify\Common\Actions C

Total Complexity 114
Dependencies 7
Dependents 0
Total lines 1,104
Lines of code 481
Logical lines of code 261
Comment lines 467
Methods 37
Properties 2

Methods 37

Method Rating Maintainability Complexity Lines of code
save_short_link()
B
41 18 53
_add_short_link_to_content()
A
44 14 46
show_content()
A
43 5 63
add_short_link_to_cpt()
S
57 6 18
anonymise_clicks_data()
S
52 5 27
add_short_link()
S
51 5 26
filter_link_actions()
S
57 5 18
post_sidebar()
S
55 4 20
get_post_short_url()
S
57 4 17
get_the_short_url()
S
63 4 11
store_main_query_object()
S
71 4 5
get_allowed_post_types_to_generate_short_links()
S
59 2 17
init()
S
48 1 31
get_shortlink_from_permalink()
S
65 3 10
add_short_link_column()
S
66 2 8
delete_post_short_links()
S
75 2 5
get_cpt_short_link()
S
68 2 8
delete_links()
S
75 2 5
get_listed_post_ids()
S
68 2 7
get_allowed_post_types_to_auto_generate_short_links()
S
67 2 8
delete_groups()
S
75 2 5
generate_link_html()
S
68 2 7
add_short_link_to_excerpt()
S
66 2 8
do_shortening_using_url_shortify()
S
68 2 8
delete_clicks()
S
75 2 5
short_link_added_to_excerpt()
S
77 1 4
insert_custom_short_url_css()
S
72 1 5
replace_short_url_tags()
S
74 1 4
add_short_link_column_to_edd()
S
79 1 3
add_url_shortify_metabox()
S
70 1 6
add_short_link_column_to_pages()
S
79 1 3
regenerate_json_links()
S
82 1 3
delete_cache()
S
81 1 3
get_post_short_permalink()
S
80 1 3
get_short_permalink()
S
80 1 3
get_heateor_ss_target_share_url()
S
80 1 3
add_url_shortener_option()
S
72 1 5